$(function(){
	var u = $.session.get('name');
	console.log(u);
	if(u){
		var username='<a href="javascript:;">恭喜您  '+u+'  ,登录成功！</a><a href="delivery.html">免费发布信息</a>'
		$('#top').empty().append(username)
	}else{
		var news='<a id="news" href="login.html">免费发布信息</a>'
		$('#top').append(news)
	}
})